package com.groupbuying.settleproducer.dao;

import com.groupbuying.settleproducer.domain.SettleUshopWithdrawalYsBalancePaymentDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 *
 * @author WANGNING
 * @email wyn2014026@aliyun.com
 * @date 2019-09-02 16:06:47
 * @des 余额代打款申请信息表
 */

@Mapper
@Repository
public interface SettleUshopWithdrawalYsBalancePaymentDao {

	SettleUshopWithdrawalYsBalancePaymentDO get(Integer id);
	
	List<SettleUshopWithdrawalYsBalancePaymentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SettleUshopWithdrawalYsBalancePaymentDO settleUshopWithdrawalYsBalancePayment);
	
	int update(SettleUshopWithdrawalYsBalancePaymentDO settleUshopWithdrawalYsBalancePayment);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
	/**
	 * 更改余额状态
	 */
	int updateStatus(Map<String,Object> map);
}
